package edu.yctc.origin.controller.impl;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import edu.yctc.origin.constant.TemplatePath;
import edu.yctc.origin.controller.IndexController;

/**
 * 主页跳转模板控制器
 * 
 * @author 赵宜珺
 *
 */
@Controller
@ComponentScan({"edu.yctc.origin.service"})
@RequestMapping("/")
public class IndexControllerImpl implements IndexController {

    @Override
    @GetMapping("index")
    public String showIndex() {
        return TemplatePath.INDEX;
    }

}
